package com.mkb.common;

import com.mkb.entity.UserInfoDTO;

import javax.servlet.http.HttpServletRequest;

/**
 * @author meikb
 * @desc
 * @date 2024-03-19 11:10
 */
public class BaseController {
    public UserInfoDTO getUserInfo(HttpServletRequest request) {
        return (UserInfoDTO)request.getSession().getAttribute(WebConstant.SESSION_CONTEXT_NAME);
    }
}
